package com.lagou.homework.stage01.module02.Task3;

public class UserInfo {
    private int min;
    private int flow;
    private int money;

    public UserInfo() {
    }

    public UserInfo(int min, int flow, int money) {
        setMin(min);
        setFlow(flow);
        setMoney(money);
    }

    public int getMin() {
        return min;
    }

    public void setMin(int min) {
        this.min = min;
    }

    public int getFlow() {
        return flow;
    }

    public void setFlow(int flow) {
        this.flow = flow;
    }

    public int getMoney() {
        return money;
    }

    public void setMoney(int money) {
        this.money = money;
    }

    public void show(){
        System.out.println("通话时长统计："+getMin());
        System.out.println("上网流量统计："+getFlow());
        System.out.println("每月消费金额："+getMoney());

    }

}
